package 作业;

public class Struct_ticket {
    public String start;
    public String end;
    public double cost;
    public String time;
    public int quantity;
    public Struct_ticket(String start,String end,double cost,String time,int quantity){
        this.start=start;
        this.end=end;
        this.cost=cost;
        this.time=time;
        this.quantity=quantity;
    }

    @Override
    public String toString() {
        return start+' '+end+"   "+cost+"   "+time+"  "+quantity;
    }
}
